package asia.hymsk.spring.pojo.mongodb;

/**
 * ClassName: Recs
 * Package: com.example.demo.test.Recs
 */

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

/**
 * 商品相似度实体
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Document("Recs")
public class Recs {
    @Field
    private Integer productId;
    @Field
    private Double score;
}
